package com.spukmk3me.impl.libgdx;

import com.spukmk3me.io.userinput.PointerInput;

import com.badlogic.gdx.InputProcessor;

public class LibgdxPointerInput extends PointerInput implements InputProcessor
{
    public LibgdxPointerInput()
    {
        super( 1 );
    }

    @Override
    public boolean keyDown( int keycode )
    {
        return false;
    }

    @Override
    public boolean keyUp( int keycode )
    {
        return false;
    }

    @Override
    public boolean keyTyped( char character )
    {
        return false;
    }

    @Override
    public boolean touchDown( int x, int y, int pointer, int button )
    {
        pointerDown( x, y, 0 );
        return true;
    }

    @Override
    public boolean touchUp( int x, int y, int pointer, int button )
    {
        pointerUp( x, y, button );
        return true;
    }

    @Override
    public boolean touchDragged( int x, int y, int pointer )
    {
        pointerDragged( x, y );
        return true;
    }

    @Override
    public boolean mouseMoved( int x, int y )
    {
        return true;
    }

    @Override
    public boolean scrolled( int amount )
    {
        return true;
    }
}
